package study.repository.user;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import study.domain.user.Authority;
import study.domain.user.AuthorityId;

public interface AuthorityRepository extends PagingAndSortingRepository<Authority, AuthorityId>,
	JpaSpecificationExecutor<Authority> {

	List<Authority> findAllById_User_UserId(Long userId);
}
